﻿Public Class NguoiThueNhaDTO

    Private _Ma As String
    Private _HoTen As String
    Private _Email As String
    Private _NgheNghiep As String
    Private _SoCMND As String
    Private _DienThoai As String
    Private _MaKV As String
    Private _MaLN As String


    Public Property Mã_người_thuê() As String
        Get
            Return _Ma
        End Get
        Set(ByVal value As String)
            _Ma = value
        End Set
    End Property

    Public Property Họ_tên() As String
        Get
            Return _HoTen
        End Get
        Set(ByVal value As String)
            _HoTen = value
        End Set
    End Property

    Public Property Email() As String
        Get
            Return _Email
        End Get
        Set(ByVal value As String)
            _Email = value
        End Set
    End Property

    Public Property Nghê_nghiệp() As String
        Get
            Return _NgheNghiep
        End Get
        Set(ByVal value As String)
            _NgheNghiep = value
        End Set
    End Property

    Public Property Số_CMND() As String
        Get
            Return _SoCMND
        End Get
        Set(ByVal value As String)
            _SoCMND = value
        End Set
    End Property

    Public Property Điện_Thoại() As String
        Get
            Return _DienThoai
        End Get
        Set(ByVal value As String)
            _DienThoai = value
        End Set
    End Property

    Public Property Mã_Khu_Vực() As String
        Get
            Return _MaKV
        End Get
        Set(ByVal value As String)
            _MaKV = value
        End Set
    End Property


    Public Property Mã_loại_nhà() As String
        Get
            Return _MaLN
        End Get
        Set(ByVal value As String)
            _MaLN = value
        End Set
    End Property

    Public Sub New(ByVal ID As String, ByVal PW As String, ByVal HT As String, ByVal NS As String, ByVal GT As String, _
            ByVal DC As String, ByVal SDT As String, ByVal LNV As String)
        Me._Ma = ID
        Me._HoTen = PW
        Me._Email = HT
        Me._NgheNghiep = NS
        Me._SoCMND = GT
        Me._DienThoai = DC
        Me._MaKV = SDT
        Me._MaLN = LNV
    End Sub

    Public Sub New(ByVal EmpID As String)
        Me._Ma = EmpID
    End Sub

End Class
